//
//  SettingsView.h
//  iMarks
//
//  Created by Christian Speich on 03.01.08.
//  Copyright 2008 Christian Speich. All rights reserved.
//

#import <UIKit/UIkit.h>
#import <UIKit/UIPreferencesTable.h>
#import <UIKit/UIPreferencesTableCell.h>
#import <UIKit/UIPreferencesControlTableCell.h>
#import <UIKit/UISwitchControl.h>
#import "ViewManager.h"
#import "SubjectView.h"

@interface SettingsView : UIView {
	UINavigationBar *navigationBar;
	UIPreferencesTable *table;
	UITransitionView *transView;
	ViewManager *viewManager;
	SubjectView *subjectView;
	UINavigationItem *navigationItem;
	UIPreferencesControlTableCell *secondHalfYear;
	UIPreferencesTableCell *versionCell;
	UIPreferencesTableCell *authorCell;
	UIPreferencesTableCell *deleteAllMarks;
	UIPreferencesTableCell *changeSubject;
	UIPreferencesTableCell *deleteAllSubjects;
	UISwitchControl *secondHalfYearControl;
	UIView* mainView;
	UIAlertSheet* deleteAllSubjectsSheet;
	UIAlertSheet* deleteAllMarksSheet;
}

- (id)initWithFrame:(struct CGRect)frame andMainView:(id)mainView;
- (void) save;

@end
